Fix MariaDB build failure on amd64v3
Test patch from https://jira.mariadb.org/browse/MDEV-38398?focusedCommentId=319851&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-319851
Confirmed to work on Launchpad builds. This will most likely be fixed in next
upstream release MariaDB 11.8.6 by upstream in a more elegant way, and this
patch should be kept in Debian (and Ubuntu) only temporairly.
Forwarded: https://jira.mariadb.org/browse/MDEV-38398
Gbp-Pq: Name MDEV-38398-amd64v3-compatibility.patch